
//
//	cove.display.Shape - 2011 July 6th
//
//	The Shape class is used to create lightweight shapes by using the Cove drawing application
//	program interface (API). The Shape class includes a graphics property, which lets you access
//	methods from the Graphics class. 
//
//-------------------------------------------------------------------------------------------------

var Shape = cove.display.Shape = cove.display.DisplayObject.extend({
	
	init: function() {
		this._htmlElement = xb.SVG.create('svg');
		this._svgElement = this._htmlElement;
		this._graphics = new Graphics(this);
		
		DisplayObject.fn.init.call(this);
	},
	
		
//	Public properties
//-------------------------------------------------------------------------------------------------
	
	get graphics() { return this._graphics; }
	
});